//
//  MJ_TaskCellLayout.h
//  UEAssistant
//
//  Created by mac on 2018/1/2.
//  Copyright © 2018年 youyixinxi. All rights reserved.
//

#import "LWLayout.h"
#import "MJ_TaskListResult.h"
#import "MJProjectListModel.h"
#import "MJ_TaskViewModel.h"
@interface MJ_TaskCellLayout : LWLayout<NSCopying>
//行高
@property (nonatomic,assign) CGFloat cellHeight;
//-----------------------------------------任务-------------------------------------------------------//
//model
@property (strong, nonatomic)MJ_TaskListResult *resultModel;

@property (assign, nonatomic)BOOL isHistoryOrder;
/**
 初始化布局
 @param model 返回数据model
 @param type 当前选择的类型
 @param isHistory 是否为历史订单
 @return 布局模型
 */
- (instancetype)initWithModel:(MJ_TaskListResult *)model type:(MJTaskOrder)type isHistory:(BOOL)isHistory;


//------------------------------------enterprise-运营--------------------------------------------------//
@property (strong, nonatomic)MJProjectListModel *projectModel;
//项目监管列表
- (instancetype)initWithModel:(MJProjectListModel *)projectModel;
@end
